package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库区信息对象 wms_warehouse_area
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class WmsWarehouseArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 租户ID */
    @Excel(name = "租户ID")
    private Long tenantId;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 库区编码 */
    @Excel(name = "库区编码")
    private String areaCode;

    /** 库区名称 */
    @Excel(name = "库区名称")
    private String areaName;

    /** 父级库区ID */
    @Excel(name = "父级库区ID")
    private Long parentId;

    /** 库区类型：1-收货区，2-存储区，3-拣货区，4-发货区 */
    @Excel(name = "库区类型", readConverterExp = "1=收货区,2=存储区,3=拣货区,4=发货区")
    private Integer areaType;

    /** 最低温度 */
    @Excel(name = "最低温度")
    private BigDecimal temperatureMin;

    /** 最高温度 */
    @Excel(name = "最高温度")
    private BigDecimal temperatureMax;

    /** 最低湿度 */
    @Excel(name = "最低湿度")
    private BigDecimal humidityMin;

    /** 最高湿度 */
    @Excel(name = "最高湿度")
    private BigDecimal humidityMax;

    /** 库区面积 */
    @Excel(name = "库区面积")
    private BigDecimal areaSize;

    /** 最大承重（吨） */
    @Excel(name = "最大承重")
    private BigDecimal maxWeight;

    /** 状态：0-停用，1-启用 */
    @Excel(name = "状态", readConverterExp = "0=停用,1=启用")
    private Integer status;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortOrder;

    /** 仓库名称 */
    private String warehouseName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setAreaType(Integer areaType) 
    {
        this.areaType = areaType;
    }

    public Integer getAreaType() 
    {
        return areaType;
    }
    public void setTemperatureMin(BigDecimal temperatureMin) 
    {
        this.temperatureMin = temperatureMin;
    }

    public BigDecimal getTemperatureMin() 
    {
        return temperatureMin;
    }
    public void setTemperatureMax(BigDecimal temperatureMax) 
    {
        this.temperatureMax = temperatureMax;
    }

    public BigDecimal getTemperatureMax() 
    {
        return temperatureMax;
    }
    public void setHumidityMin(BigDecimal humidityMin) 
    {
        this.humidityMin = humidityMin;
    }

    public BigDecimal getHumidityMin() 
    {
        return humidityMin;
    }
    public void setHumidityMax(BigDecimal humidityMax) 
    {
        this.humidityMax = humidityMax;
    }

    public BigDecimal getHumidityMax() 
    {
        return humidityMax;
    }
    public void setAreaSize(BigDecimal areaSize) 
    {
        this.areaSize = areaSize;
    }

    public BigDecimal getAreaSize() 
    {
        return areaSize;
    }
    public void setMaxWeight(BigDecimal maxWeight) 
    {
        this.maxWeight = maxWeight;
    }

    public BigDecimal getMaxWeight() 
    {
        return maxWeight;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSortOrder(Integer sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder() 
    {
        return sortOrder;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("warehouseId", getWarehouseId())
            .append("warehouseName", getWarehouseName())
            .append("areaCode", getAreaCode())
            .append("areaName", getAreaName())
            .append("parentId", getParentId())
            .append("areaType", getAreaType())
            .append("temperatureMin", getTemperatureMin())
            .append("temperatureMax", getTemperatureMax())
            .append("humidityMin", getHumidityMin())
            .append("humidityMax", getHumidityMax())
            .append("areaSize", getAreaSize())
            .append("maxWeight", getMaxWeight())
            .append("status", getStatus())
            .append("sortOrder", getSortOrder())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}